import os


PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

PROJECT_DIR = {
    "reports": os.path.join(PROJECT_ROOT, "reports"),
    "records": os.path.join(PROJECT_ROOT, "records"),
    "conf": os.path.join(PROJECT_ROOT, "project_conf"),
    "testScripts": os.path.join(PROJECT_ROOT, "test_scripts"),
    "raw": os.path.join(PROJECT_ROOT, "raw_data"),
    "clean": os.path.join(PROJECT_ROOT, "cleaned_data"),
    "imgs": os.path.join(PROJECT_ROOT, "tag_imgs")
}

PROJECT_FILE = {
    "default_tag_conf": os.path.join(PROJECT_DIR['conf'], "tags.ini"),
    "default_word_pattern": os.path.join(PROJECT_DIR['conf'], "word报告模板.docx"),
    "default_test_records": os.path.join(PROJECT_DIR["records"], "records.xlsx")
}
